<?php
namespace App\Models\Mall;

use Illuminate\Database\Eloquent\Model;

class OrderItem extends Model 
{
	protected $table = 'mall_order_item';

	public function order()
    {
        return $this->belongsTo('App\Models\Mall\Order');
    }

    public function goods()
    {
        return $this->belongsTo('App\Models\Mall\Goods');
    }
}